package com.isunland.managesystem.entity;

import com.google.gson.annotations.JsonAdapter;
import com.isunland.managesystem.base.BaseModel;
import com.isunland.managesystem.utils.FullDateSeriallizer;

/**
 * 对象功能:r_distribution_sub Model对象
 * 开发公司:北京信普达系统工程有限公司
 * 开发人员:lhr
 * 创建时间:2017-07-18 16:57:12
 */
public class RDistributionSub extends BaseModel {
  // 主键
  protected String id;
  // 默认排序字段
  protected Long orderNo;
  // 默认备注字段
  protected String remark;
  // 登记人ID
  protected String regStaffId;
  // 登记人名称
  protected String regStaffName;
  // 登记人时间
  @JsonAdapter(FullDateSeriallizer.class) protected java.util.Date regDate;
  // 会员编码
  protected String memberCode;
  // 会员名称
  protected String memberName;
  // 关联主表ID
  protected String mainId;
  // 签到位置
  protected String signLocaltion;
  // 签到拍照Path
  protected String signPhoto;
  // 签到拍照名称
  protected String signPhotoName;
  // 经度
  protected String longitude;
  // 纬度
  protected String latitude;

  /**
   * 返回 主键
   */
  public String getId() {

    if (this.id != null) {
      return this.id.trim();
    } else {
      return this.id;
    }
  }

  public void setId(String id) {
    if (id != null) {
      this.id = id.trim();
    } else {
      this.id = id;
    }
  }

  /**
   * 返回 默认排序字段
   */
  public Long getOrderNo() {

    if (this.orderNo != null) {
      return this.orderNo;
    } else {
      return this.orderNo;
    }
  }

  public void setOrderNo(Long orderNo) {
    if (orderNo != null) {
      this.orderNo = orderNo;
    } else {
      this.orderNo = orderNo;
    }
  }

  /**
   * 返回 默认备注字段
   */
  public String getRemark() {

    if (this.remark != null) {
      return this.remark.trim();
    } else {
      return this.remark;
    }
  }

  public void setRemark(String remark) {
    if (remark != null) {
      this.remark = remark.trim();
    } else {
      this.remark = remark;
    }
  }

  /**
   * 返回 登记人ID
   */
  public String getRegStaffId() {

    if (this.regStaffId != null) {
      return this.regStaffId.trim();
    } else {
      return this.regStaffId;
    }
  }

  public void setRegStaffId(String regStaffId) {
    if (regStaffId != null) {
      this.regStaffId = regStaffId.trim();
    } else {
      this.regStaffId = regStaffId;
    }
  }

  /**
   * 返回 登记人名称
   */
  public String getRegStaffName() {

    if (this.regStaffName != null) {
      return this.regStaffName.trim();
    } else {
      return this.regStaffName;
    }
  }

  public void setRegStaffName(String regStaffName) {
    if (regStaffName != null) {
      this.regStaffName = regStaffName.trim();
    } else {
      this.regStaffName = regStaffName;
    }
  }

  /**
   * 返回 登记人时间
   */
  public java.util.Date getRegDate() {

    if (this.regDate != null) {
      return this.regDate;
    } else {
      return this.regDate;
    }
  }

  public void setRegDate(java.util.Date regDate) {
    if (regDate != null) {
      this.regDate = regDate;
    } else {
      this.regDate = regDate;
    }
  }

  /**
   * 返回 会员编码
   */
  public String getMemberCode() {

    if (this.memberCode != null) {
      return this.memberCode.trim();
    } else {
      return this.memberCode;
    }
  }

  public void setMemberCode(String memberCode) {
    if (memberCode != null) {
      this.memberCode = memberCode.trim();
    } else {
      this.memberCode = memberCode;
    }
  }

  /**
   * 返回 会员名称
   */
  public String getMemberName() {

    if (this.memberName != null) {
      return this.memberName.trim();
    } else {
      return this.memberName;
    }
  }

  public void setMemberName(String memberName) {
    if (memberName != null) {
      this.memberName = memberName.trim();
    } else {
      this.memberName = memberName;
    }
  }

  /**
   * 返回 关联主表ID
   */
  public String getMainId() {

    if (this.mainId != null) {
      return this.mainId.trim();
    } else {
      return this.mainId;
    }
  }

  public void setMainId(String mainId) {
    if (mainId != null) {
      this.mainId = mainId.trim();
    } else {
      this.mainId = mainId;
    }
  }

  /**
   * 返回 签到位置
   */
  public String getSignLocaltion() {

    if (this.signLocaltion != null) {
      return this.signLocaltion.trim();
    } else {
      return this.signLocaltion;
    }
  }

  public void setSignLocaltion(String signLocaltion) {
    if (signLocaltion != null) {
      this.signLocaltion = signLocaltion.trim();
    } else {
      this.signLocaltion = signLocaltion;
    }
  }

  /**
   * 返回 签到拍照Path
   */
  public String getSignPhoto() {

    if (this.signPhoto != null) {
      return this.signPhoto.trim();
    } else {
      return this.signPhoto;
    }
  }

  public void setSignPhoto(String signPhoto) {
    if (signPhoto != null) {
      this.signPhoto = signPhoto.trim();
    } else {
      this.signPhoto = signPhoto;
    }
  }

  /**
   * 返回 签到拍照名称
   */
  public String getSignPhotoName() {

    if (this.signPhotoName != null) {
      return this.signPhotoName.trim();
    } else {
      return this.signPhotoName;
    }
  }

  public void setSignPhotoName(String signPhotoName) {
    if (signPhotoName != null) {
      this.signPhotoName = signPhotoName.trim();
    } else {
      this.signPhotoName = signPhotoName;
    }
  }

  /**
   * 返回 经度
   */
  public String getLongitude() {

    if (this.longitude != null) {
      return this.longitude.trim();
    } else {
      return this.longitude;
    }
  }

  public void setLongitude(String longitude) {
    if (longitude != null) {
      this.longitude = longitude.trim();
    } else {
      this.longitude = longitude;
    }
  }

  /**
   * 返回 纬度
   */
  public String getLatitude() {

    if (this.latitude != null) {
      return this.latitude.trim();
    } else {
      return this.latitude;
    }
  }

  public void setLatitude(String latitude) {
    if (latitude != null) {
      this.latitude = latitude.trim();
    } else {
      this.latitude = latitude;
    }
  }
}